<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>新增</title>
</head>
<body>
<form method="post" action="fruit">
    <table>
        <tr>
            <td>类别:</td>
            <td>
                <input type="text" name="type" onblur="checkType(this)">
                <span class="error"></span>
            </td>
        </tr>
        <tr>
            <td>品种:</td>
            <td>
                <input type="text" name="breed">
                <span class="error"></span>
            </td>
        </tr>
        <tr>
            <td>产地:</td>
            <td>
                <input type="text" name="area">
                <span class="error"></span>
            </td>
        </tr>
        <tr>
            <td>简介:</td>
            <td>
                <input type="text" name="brief">
                <span class="error"></span>
            </td>
        </tr>
        <td colspan="2">
            <a href="/toAdd" th:href="@{/list}" >返回</a>
            <input type="submit">
        </td>
    </table>
</form>
</body>
</html>
